package com.qsd.TeacherSystem.Service.impl;

import com.qsd.TeacherSystem.Service.ClazzService;
import com.qsd.TeacherSystem.dao.ClazzDao;
import com.qsd.common.enums.ResultStatus;
import com.qsd.common.po.Clazz;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class ClazzServiceImpl implements ClazzService {
	
	@Resource
	private ClazzDao clazzDao;

	@Override
	public ResultStatus removeStudent(Clazz clazz) {
		clazzDao.deleteStudent(clazz);
		return ResultStatus.SUCCESS;
	}

}
